package com.haikesi.api.subscribertable.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(description = "参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class SubscriberBindDeviceVo implements Serializable{
	
	private static final long serialVersionUID = -1L;
	
	@ApiModelProperty(name = "订阅账号")
	@NotNull(message="订阅账号不能为空！")
	@NotBlank(message="订阅账号不能为空！")
	private String account;
	@ApiModelProperty(name = "设备序列号")
	@NotNull(message="设备序列号不能为空！")
	@NotBlank(message="设备序列号不能为空！")
	private String serial_num;
	@ApiModelProperty(name = "设备正品码（解绑的时候不需要次参数）")
	private String genuine_code;

	
	
}
